package com.dmtt.web.mapper;

import com.dmtt.web.entity.CallPolice;
import com.dmtt.web.entity.CarAlert;
import com.dmtt.web.entity.CarFaultId;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface CarAlertMapper {
    void updateAlert(@Param("agvName")Integer agvName,@Param("callStatus") Integer callStatus);

    List<CallPolice> agvInfo();

    CallPolice callFind(@Param("agvName") String agvName, @Param("status") int status,@Param("errName") String errName);

    void saveCall(CallPolice callPolice);

    List<CallPolice> findCallPolice(@Param("startTime") String startTime, @Param("flag") int flag);

    Integer intCall(@Param("agvName") String agvName);

    List<CallPolice> callfind1();

    CallPolice callfind2(@Param("agvName") String agvName, @Param("status") int i, @Param("errName") String errName);
}
